package UI
{
	import flash.display.Sprite;
	import flash.text.TextFormat;

	public class UIManager extends Sprite
	{
		public var mUITextFormat:TextFormat=null;
		
		public static var msInstance:UIManager=null;
		
		public function UIManager()
		{
			if(msInstance!=null)
				throw("UIManager already have a instance!");
			msInstance=this;
		}
		
		public function Init(game:Sprite):Boolean
		{
			game.addChild(this);
			
			mUITextFormat=new TextFormat("Microsoft YaHei",14);
			return true;
		}
	}
}